My Project
Main Page
Files
File List
File Members
All
Files
Functions
Macros
math.h
Go to the documentation of this file.
1
/*****
2
* Mean value calculation example
3
*
4
* Copyright (C) 2015 Henrik Sandklef
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 3
9
* of the License, or any later version.
10
*
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Boston,
20
* MA 02110-1301, USA.
21
****/
22
41
/* New version:
42
int mean_value(int *p, int size, int *mean_value);
43
*/
44
int
mean_value
(
int
*p,
int
size);
mean_value
int mean_value(int *p, int size)
Given an 'array' of integers, this function calculates the mean value.
Definition:
math.c:26
Generated on Thu Dec 3 2015 12:36:09 for My Project by
1.8.6